// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.content.DialogInterface;
import android.content.res.Resources;
import com.nnee.p_pr.p_activity.p_view.cls_FlingGallery;
import com.nnee.p_pr.p_d.cls_c;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            ArticleGalleryActivity, PRISActivitySetting

class cls_by
    implements android.content.DialogInterface.OnClickListener
{

    cls_by(cls_ArticleGalleryActivity articlegalleryactivity)
    {super();
        a = articlegalleryactivity;
        
    }

    public void onClick(DialogInterface dialoginterface, int i)
    {
        if(i != -1) {
        	if(i == -2)
            {
                int j = cls_PRISActivitySetting.a(com.nnee.p_pr.p_activity.cls_ArticleGalleryActivity.c(a));
                if(cls_ArticleGalleryActivity.d(a) != null)
                {
                    cls_ArticleGalleryActivity.d(a).a(0, cls_ArticleGalleryActivity.p, Integer.valueOf(j));
                    cls_ArticleGalleryActivity.d(a).a(1, cls_ArticleGalleryActivity.p, Integer.valueOf(j));
                    cls_ArticleGalleryActivity.d(a).a(2, cls_ArticleGalleryActivity.p, Integer.valueOf(j));
                }
            }
        } else {
        	cls_PRISActivitySetting.a(cls_ArticleGalleryActivity.a(a), cls_ArticleGalleryActivity.b(a));
	        int k = cls_PRISActivitySetting.a(cls_ArticleGalleryActivity.b(a));
	        String s = a.getResources().getStringArray(0x7f070006)[k];
	        cls_c.a(a.p(), 752, s);
        }
        dialoginterface.dismiss();
        return;

    }

    final cls_ArticleGalleryActivity a;
}
